package net.dgg.dggcloud.service.jrcrm.entity.pro;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2017/11/9.
 */
@Entity
@Table(name="pro_product_channel")
public class ProductChannel extends BaseEntity implements Cloneable{

    /**
     * 渠道名
     */
    @Column(name="name")
    private String name;

    /**
     * 备注
     */
    @Column(name="comment")
    private String comment;
    /**
     * 渠道编号
     */
    @Column(name="serial_num")
    private String serialNum;

    /**
     * 一级类型
     */
    @Column(name="type")
    private String type;

    /**
     * 渠道类型(金融机构)
     */
    @Column(name="category")
    private String category;



    /**
     * 支行
     */
    @Column(name="subbranch_bank")
    private String subbranchBank;

    /**
     * 合作状态:（0：剔除，1：合作中，2：储备，3：暂停）
     */
    @Column(name="cooperation_status")
    private String cooperationStatus;

    /**
     * 渠道优势
     */
    @Column(name="advantage")
    private String advantage;

    /**
     * 渠道联系人
     */
    @Column(name="contact")
    private String contact;

    /**
     * 联系人职位
     */
    @Column(name="job_position")
    private String jobPosition;

    /**
     * 联系电话
     */
    @Column(name="tel")
    private String tel;

    /**
     * 首次签订合同时间
     */
    @Column(name="first_cooperation_time")
    private Date firstCooperationTime;

    /**
     * 合作协议到期时间
     */
    @Column(name="cooperation_expiration")
    private Date cooperationExpiration;

    /**
     * 放款手续费
     */
    @Column(name="loan_charge")
    private String loanCharge;

    /**
     * 渠道费
     */
    @Column(name="channel_charge")
    private String channelCharge;

    /**
     * 渠道费收取原因
     */
    @Column(name="reason_of_charge")
    private String reasonOfCharge;

    @Column(name="apply_area")
    private String applyArea;

    /**
     * 对内返点
     */
    @Column(name="inner_rebate")
    private String innerRebate;

    /**
     * 结算方式：（0：月结，1：季结，2：年结，3：其他）
     */
    @Column(name="accounts_type")
    private String accountsType;

    /**
     * 付款方式：账户名
     */
    @Column(name="bank_username")
    private String bankUsername;

    /**
     * 付款方式：开户行
     */
    @Column(name="bank_name")
    private String bankName;

    /**
     * 付款方式：账号
     */
    @Column(name="bank_account")
    private String bankAccount;

    /**
     * 渠道级别：A/B/C/D
     */
    @Column(name="level")
    private String level;

    /**
     * 状态 0：删除 1:启用
     */
    @Column(name="status")
    private Integer status;

    public String getApplyArea() {
        return applyArea;
    }

    public void setApplyArea(String applyArea) {
        this.applyArea = applyArea;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getSubbranchBank() {
        return subbranchBank;
    }

    public void setSubbranchBank(String subbranchBank) {
        this.subbranchBank = subbranchBank;
    }

    public String getCooperationStatus() {
        return cooperationStatus;
    }

    public void setCooperationStatus(String cooperationStatus) {
        this.cooperationStatus = cooperationStatus;
    }

    public String getAdvantage() {
        return advantage;
    }

    public void setAdvantage(String advantage) {
        this.advantage = advantage;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getFirstCooperationTime() {
        return firstCooperationTime;
    }

    public void setFirstCooperationTime(Date firstCooperationTime) {
        this.firstCooperationTime = firstCooperationTime;
    }

    public Date getCooperationExpiration() {
        return cooperationExpiration;
    }

    public void setCooperationExpiration(Date cooperationExpiration) {
        this.cooperationExpiration = cooperationExpiration;
    }

    public String getLoanCharge() {
        return loanCharge;
    }

    public void setLoanCharge(String loanCharge) {
        this.loanCharge = loanCharge;
    }

    public String getChannelCharge() {
        return channelCharge;
    }

    public void setChannelCharge(String channelCharge) {
        this.channelCharge = channelCharge;
    }

    public String getReasonOfCharge() {
        return reasonOfCharge;
    }

    public void setReasonOfCharge(String reasonOfCharge) {
        this.reasonOfCharge = reasonOfCharge;
    }

    public String getInnerRebate() {
        return innerRebate;
    }

    public void setInnerRebate(String innerRebate) {
        this.innerRebate = innerRebate;
    }

    public String getAccountsType() {
        return accountsType;
    }

    public void setAccountsType(String accountsType) {
        this.accountsType = accountsType;
    }

    public String getBankUsername() {
        return bankUsername;
    }

    public void setBankUsername(String bankUsername) {
        this.bankUsername = bankUsername;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
